package org.jaaksi.demo.layoutinflate;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.LinearLayout;

/**
 * Created by Fcy on 2016/6/30.
 */
public class MyLayout extends LinearLayout {

    public MyLayout(Context context) {
        super(context);
    }

    public MyLayout(Context context, AttributeSet attrs) {
        super(context, attrs);

//        LayoutInflater.from(context).inflate(R.layout.lib_test,this,true);
        View.inflate(context,R.layout.lib_test_merge,this);
    }
}
